/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package org.hl7.v3;

import java.util.Arrays;
import java.util.Collections;
import java.util.List;

import org.eclipse.emf.common.util.Enumerator;

/**
 * <!-- begin-user-doc -->
 * A representation of the literals of the enumeration '<em><b>Cardiology Specialist Or Technologist HIPAA</b></em>',
 * and utility methods for working with them.
 * <!-- end-user-doc -->
 * <!-- begin-model-doc -->
 * abstDomain: A13660 (C-0-T13129-A13130-A13644-A13660-cpt)
 * <!-- end-model-doc -->
 * @see org.hl7.v3.V3Package#getCardiologySpecialistOrTechnologistHIPAA()
 * @model extendedMetaData="name='CardiologySpecialistOrTechnologistHIPAA'"
 * @generated
 */
public enum CardiologySpecialistOrTechnologistHIPAA implements Enumerator {
	/**
	 * The '<em><b>246VC0100N</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_246VC0100N_VALUE
	 * @generated
	 * @ordered
	 */
	_246VC0100N(0, "_246VC0100N", "246VC0100N"),

	/**
	 * The '<em><b>246VC2400N</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_246VC2400N_VALUE
	 * @generated
	 * @ordered
	 */
	_246VC2400N(1, "_246VC2400N", "246VC2400N"),

	/**
	 * The '<em><b>246VC2901N</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_246VC2901N_VALUE
	 * @generated
	 * @ordered
	 */
	_246VC2901N(2, "_246VC2901N", "246VC2901N"),

	/**
	 * The '<em><b>246VC2902N</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_246VC2902N_VALUE
	 * @generated
	 * @ordered
	 */
	_246VC2902N(3, "_246VC2902N", "246VC2902N"),

	/**
	 * The '<em><b>246VC2903N</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_246VC2903N_VALUE
	 * @generated
	 * @ordered
	 */
	_246VC2903N(4, "_246VC2903N", "246VC2903N"),

	/**
	 * The '<em><b>246VP3600N</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_246VP3600N_VALUE
	 * @generated
	 * @ordered
	 */
	_246VP3600N(5, "_246VP3600N", "246VP3600N"),

	/**
	 * The '<em><b>246VS1301N</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_246VS1301N_VALUE
	 * @generated
	 * @ordered
	 */
	_246VS1301N(6, "_246VS1301N", "246VS1301N"),

	/**
	 * The '<em><b>246VV0100N</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_246VV0100N_VALUE
	 * @generated
	 * @ordered
	 */
	_246VV0100N(7, "_246VV0100N", "246VV0100N");

	/**
	 * The '<em><b>246VC0100N</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>246VC0100N</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_246VC0100N
	 * @model literal="246VC0100N"
	 * @generated
	 * @ordered
	 */
	public static final int _246VC0100N_VALUE = 0;

	/**
	 * The '<em><b>246VC2400N</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>246VC2400N</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_246VC2400N
	 * @model literal="246VC2400N"
	 * @generated
	 * @ordered
	 */
	public static final int _246VC2400N_VALUE = 1;

	/**
	 * The '<em><b>246VC2901N</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>246VC2901N</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_246VC2901N
	 * @model literal="246VC2901N"
	 * @generated
	 * @ordered
	 */
	public static final int _246VC2901N_VALUE = 2;

	/**
	 * The '<em><b>246VC2902N</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>246VC2902N</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_246VC2902N
	 * @model literal="246VC2902N"
	 * @generated
	 * @ordered
	 */
	public static final int _246VC2902N_VALUE = 3;

	/**
	 * The '<em><b>246VC2903N</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>246VC2903N</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_246VC2903N
	 * @model literal="246VC2903N"
	 * @generated
	 * @ordered
	 */
	public static final int _246VC2903N_VALUE = 4;

	/**
	 * The '<em><b>246VP3600N</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>246VP3600N</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_246VP3600N
	 * @model literal="246VP3600N"
	 * @generated
	 * @ordered
	 */
	public static final int _246VP3600N_VALUE = 5;

	/**
	 * The '<em><b>246VS1301N</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>246VS1301N</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_246VS1301N
	 * @model literal="246VS1301N"
	 * @generated
	 * @ordered
	 */
	public static final int _246VS1301N_VALUE = 6;

	/**
	 * The '<em><b>246VV0100N</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>246VV0100N</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_246VV0100N
	 * @model literal="246VV0100N"
	 * @generated
	 * @ordered
	 */
	public static final int _246VV0100N_VALUE = 7;

	/**
	 * An array of all the '<em><b>Cardiology Specialist Or Technologist HIPAA</b></em>' enumerators.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private static final CardiologySpecialistOrTechnologistHIPAA[] VALUES_ARRAY =
		new CardiologySpecialistOrTechnologistHIPAA[] {
			_246VC0100N,
			_246VC2400N,
			_246VC2901N,
			_246VC2902N,
			_246VC2903N,
			_246VP3600N,
			_246VS1301N,
			_246VV0100N,
		};

	/**
	 * A public read-only list of all the '<em><b>Cardiology Specialist Or Technologist HIPAA</b></em>' enumerators.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static final List<CardiologySpecialistOrTechnologistHIPAA> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));

	/**
	 * Returns the '<em><b>Cardiology Specialist Or Technologist HIPAA</b></em>' literal with the specified literal value.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static CardiologySpecialistOrTechnologistHIPAA get(String literal) {
		for (int i = 0; i < VALUES_ARRAY.length; ++i) {
			CardiologySpecialistOrTechnologistHIPAA result = VALUES_ARRAY[i];
			if (result.toString().equals(literal)) {
				return result;
			}
		}
		return null;
	}

	/**
	 * Returns the '<em><b>Cardiology Specialist Or Technologist HIPAA</b></em>' literal with the specified name.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static CardiologySpecialistOrTechnologistHIPAA getByName(String name) {
		for (int i = 0; i < VALUES_ARRAY.length; ++i) {
			CardiologySpecialistOrTechnologistHIPAA result = VALUES_ARRAY[i];
			if (result.getName().equals(name)) {
				return result;
			}
		}
		return null;
	}

	/**
	 * Returns the '<em><b>Cardiology Specialist Or Technologist HIPAA</b></em>' literal with the specified integer value.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static CardiologySpecialistOrTechnologistHIPAA get(int value) {
		switch (value) {
			case _246VC0100N_VALUE: return _246VC0100N;
			case _246VC2400N_VALUE: return _246VC2400N;
			case _246VC2901N_VALUE: return _246VC2901N;
			case _246VC2902N_VALUE: return _246VC2902N;
			case _246VC2903N_VALUE: return _246VC2903N;
			case _246VP3600N_VALUE: return _246VP3600N;
			case _246VS1301N_VALUE: return _246VS1301N;
			case _246VV0100N_VALUE: return _246VV0100N;
		}
		return null;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private final int value;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private final String name;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private final String literal;

	/**
	 * Only this class can construct instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private CardiologySpecialistOrTechnologistHIPAA(int value, String name, String literal) {
		this.value = value;
		this.name = name;
		this.literal = literal;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public int getValue() {
	  return value;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String getName() {
	  return name;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String getLiteral() {
	  return literal;
	}

	/**
	 * Returns the literal value of the enumerator, which is its string representation.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public String toString() {
		return literal;
	}
	
} //CardiologySpecialistOrTechnologistHIPAA
